package card


// mahjongSuitName 麻将花色名称
var mahjongSuitName = map[int]string {
	0: "筒",
	1: "条",
	2: "万",
}

var mahjongPointName = map[int]string {
	0: "一",
	1: "二",
	2: "三",
	3: "四",
	4: "五",
	5: "六",
	6: "七",
	7: "八",
	8: "九",
}

// GetFriendy 获取牌名
func GetFriendy(cardID int) string {
	card := GetCardByID(cardID)
	return mahjongPointName[card.Point] + "" + mahjongSuitName[card.Suit]
}